<html>
<head>
    <script>
    if (confirm("Confirm test"))
        document.title += " ACCEPTED";
    else
        document.title += " REJECTED";
    </script>
</head>
</html>
